/*
 * @Author        : wang chao
 * @Date          : 2024-03-27 16:08:47
 * @LastEditors   : wang chao
 * @LastEditTime  : 2024-03-27 16:11:12
 * @FilePath      : \modbus_rtu_vbc\vbc_rtu_mb_core.h
 * @Description   : 
 * @Copyright     : Copyright 2024 wang chao, All Rights Reserved. 
 */
/*
 * Change Logs:
 * Date           Author       Notes
 * 2020-08-21     chenbin      small mb the first version
 */
#ifndef _VBC_RTU_MB_CORE_H
#define _VBC_RTU_MB_CORE_H

#include "vbc_rtu_mb_base.h"
extern const vbc_rtu_mb_core_t _vbc_rtu_mb_core;

#define _VBC_MODBUS_RTU_HEADER_LENGTH 1
#define _VBC_MODBUS_RTU_PRESET_REQ_LENGTH 6
#define _VBC_MODBUS_RTU_PRESET_RSP_LENGTH 2

#define _VBC_MODBUS_RTU_CHECKSUM_LENGTH 2
#define _VBC_MODBUS_RTU_MAX_ADU_LENGTH 260

#endif /* _VBC_MODBUS_RTU_H_ */
